package com.springboot.config;

public class DataSourceHelper {
    private static final ThreadLocal<String> dbname = new ThreadLocal<String>();

    public static String get() {
        return dbname.get();
    }

    public static void set(String name) {
        dbname.set(name);
    }

    public static void remove() {
        dbname.remove();
    }
}
